package Module;

/**
 * Project:    metsysdirg
 * File Name: WorkUnit.java
 * Change History:
 *     ********************************
 *     1.0     5/13/2011    Hengfeng Li
 *         Create the skeleton file
 *     ********************************
 *
 */

import java.io.Serializable;

/**
 * This provides the workers an interface to get
 * the information of a work unit.
 */
public interface WorkUnit extends Serializable {

    /** Get the id of this work unit */
    public int getWorkUnitID();

    /** Get the program body */
    public byte[] getProgramBody();

    /** Get the program name */
    public String getProgramName();

    /** Get the arugment of execute program */
    public String[] getArguments();

    /** Get the name of data file */
    public String getDatafileName();

    /** Get the data file */
    public byte[] getDatafile();

    /** Get the name of output file*/
    public String getOutputFileName();

}
